package com.shuqi.model.bean;

import java.io.Serializable;

/**
 * txt文件info
 * 
 * @author zhangpeng
 * 
 */
public class LoadTXTInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    // public static final int DOWNLOAD_WAITING = 0;
    // public static final int DOWNLOAD_LOADING = 3;//下载中
    // public static final int DOWNLOAD_FINISH = 1;//下载完成
    // public static final int DOWNLOAD_FAILD = 2;//下载失败
    // public static final int DOWNLOAD_DELETE = 4;//删除态
    private String bookName;
    private String bookId;
    private String time;
    private String author;
    private String uid;
    /** 下载地址 */
    private String url;
    /** 下载文件总大小 */
    private long totalSize;
    /** 已下载的文件大小 */
    private long downloadedSize = 0;
    /** 下载状态 */
    private int status;
    /**
     * 下载文件存放路径
     * 
     * 举例：/mnt/sdcard/yueting/download
     * */
    private String filePath;
    /** 下载文件存储名称 */
    private String fileName;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }


    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }


    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(long totalSize) {
        this.totalSize = totalSize;
    }

    public long getDownloadedSize() {
        return downloadedSize;
    }

    public void setDownloadedSize(long downloadedSize) {
        this.downloadedSize = downloadedSize;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

}
